package com.woniu.bh.common.core.domain.order;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author cxb
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bh_orders")
public class Orders implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "orders_id", type = IdType.AUTO)
    private Integer ordersId;



    /**
     * 订单金额
     */
    private BigDecimal ordersTotalmoney;

    /**
     * 订单状态 0 未完成 1已完成 2 服务前取消 3 订单有退款
     */
    private Integer ordersStatus;

    /**
     * 订单退款金额
     */
    private BigDecimal ordersRefundmoney;

    /**
     * 顾客id
     */
    private Integer customerId;

    /**
     * 美容师id
     */
    private Integer technicianId;

    /**
     * 订单评分
     */
    private Integer ordersGrade;

    /**
     * 服务预定的开始时间
     */
    private Long ordersReserveTime;


    /**
     * 美容馆id
     */
    private Integer ordersBeautysalonId;

    /**
     * 用户下单时间
     */
    private Long ordersDownOrderTime;



    /**
     * 订单实际付款金额
     */
    private BigDecimal ordersPayment;

    /**
     * 订单折扣金额
     */
    private BigDecimal ordersDiscountMoney;

    /**
     * 优惠券抵扣金额
     */
    private BigDecimal ordersCouponMoney;

    private Integer ordersServiceId;

    /**
     * 订单预约地址
     */
    private Integer ordersReservePlaceId;
}
